#include "CreatePortalMessage.h"
#include "MessageID.h"

CreatePortalMessage::CreatePortalMessage(int lvl, float x, float y) : SGD::Message(MessageID::MSG_CREATE_LEVEL_PORTAL)
{
	level = lvl;
	position.x = x;
	position.y = y;
}

CreatePortalMessage::CreatePortalMessage(float x, float y) : SGD::Message(MessageID::MSG_CREATE_UCC_PORTAL)
{
	position.x = x;
	position.y = y;
}

CreatePortalMessage::CreatePortalMessage(float startX, float startY, float endX, float endY) : SGD::Message(MessageID::MSG_CREATE_WARP_PORTAL)
{
	warpLoc.x = startX;
	warpLoc.y = startY;
	position.x = endX;
	position.y = endY;
}

CreatePortalMessage::~CreatePortalMessage()
{
}
